package com.h2cloud.redisTest.testLock;

/**
 * @Package: com.h2cloud.redisTest.testLock
 * @ClassName: threads
 * @Author: h2cloud
 * @CreateTime: 2023/8/3 9:45 下午
 * @Description:
 */
public class threads {
	public static void main(String[] args) {
		threads t = new threads();
		t.test();
	}

	public void test() {
		System.out.println(Thread.currentThread().getId());
		new Thread(() -> {
			System.out.println(Thread.currentThread().getId());
		}).start();
		System.out.println("end");
	}
}
